Size vfuncs always get non-null out variables passed, so no need to
check for NULL.
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{
- if (minimum_size)
- *minimum_size = minimum_req.width;
- if (natural_size)
- *natural_size = natural_req.width;
+ *minimum_size = minimum_req.width;
+ *natural_size = natural_req.width;
}
else
{
- if (minimum_size)
- *minimum_size = minimum_req.height;
- if (natural_size)
- *natural_size = natural_req.height;
+ *minimum_size = minimum_req.height;
+ *natural_size = natural_req.height;
}
}